<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />        
        <meta name="keywords" content="Montenegrolines CMS" />
        <meta name="description" content="Montenegrolines CMS" />
        <meta name="Language" content="en" />
        <meta name="Robots" content="index,follow" />
        <meta name="revisit-after" content="2 days" />
        <meta name="Distribution" content="global" />
        <title>I.P.S.C. | <?=$title?></title>  
        <link rel="icon" href="<?=base_url()?>assets/img/pngico.png" type="image/x-icon" />

        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
        <link href='http://fonts.googleapis.com/css?family=Lustria' rel='stylesheet' type='text/css'>
        <!--DISPLAY Assets CSS & JS --> 
        <?  
            $this->montenegrin->display();
        ?>

        <style type="text/css">cufon{text-indent:0!important;}@media screen,projection{cufon{display:inline!important;display:inline-block!important;position:relative!important;vertical-align:middle!important;font-size:1px!important;line-height:1px!important;}cufon cufontext{display:-moz-inline-box!important;display:inline-block!important;width:0!important;height:0!important;overflow:hidden!important;text-indent:-10000in!important;}cufon canvas{position:relative!important;}}@media print{cufon{padding:0!important;}cufon canvas{display:none!important;}}</style>

        <!-- VARS to JS -->
        <script type="text/javascript">
            var base_url = '<?=base_url()?>';
            var page = '<?=$page?>';
            var sub = '<?=$sub?>';
            var upsub = '<?=$upsub?>';
            var path = base_url+'assets/';
        </script>  

        <!--[if IE]>
        <style>
        .menu {
        padding: 9px 20px 0 0;
        } 
        #topbar #secnav ul {
        margin: 5px 60px 0 0;
        }
        .sf-menu li, .sf-menu a, #topbar #secnav a  {                
        font-size: 12px;                
        } 
        .sf-menu a {
        padding: 0.75em 1em;
        }
        #categorywrap .view-all, #categorywrap-blog .view-all {
        padding-top: 0;
        }
        a.naslov {
        font-size: 19px !important;
        }
        </style>
        <![endif]--> 
        <style>
            .sf-menu {
                margin-bottom: 0;
            }
            .sf-menu a  {
                font-size: 11px !important;
                padding-top: 13px;
            }
            #topbar #secnav a {
                font-size: 11px !important;
            }
        </style>
    </head>

    <body>

        <div id="wrapper">

            <div id="header" class="clearfix">

                <!-- Top bar -->
                <div id="topbar">
                    <!-- Logo -->
                    <img id='test' class="logo" src="<?=$url;?>assets/images/logo.png" alt="logo" />
                    <? if($this->session->userdata('logged_in')) {?>
                    <!-- Menu -->
                    <div id="secnav">
                        <ul>
                            <li class="noimg"> <a href="<?=$url?>login/logout">Odjavi se</a> </li>
                        </ul>
                    </div>
                    <!-- Menu -->
                    <div class="menu">
                        <ul class="sf-menu">
                            <li> <a class="on" href="<?=$url?>cms">Vijesti</a></li>
                            <!--<li> <a href="<?=$url?>onama/ipsc">Galerija</a></li>-->
                        </ul>
                    </div>
                    <!-- End of Menu -->
                    <?}?>
                </div>
                <!-- End of Topbar -->

            </div>

            <div id="cont" class="clearfix"><?=$contlayout ?></div>

            <div id="footer" class="clearfix">

                <!-- Footer-->
                <div id="footer">
                    <div id="logo-mini">
                        <img src="<?=$url;?>assets/images/logo-mini.png">
                    </div>
                    <div class="info"> © 2011 I.P.S.C.  |  DESIGNED AND DEVELOPPED BY <a href="#">ABORDAGE</a> </div>
                    <? if($this->session->userdata('logged_in')) {?>
                    <div class="infonav"> <a href="<?=$url;?>cms">Vijesti</a> <!--| <a href="#">Galerija</a>--> </div>
                    <?}?>
                </div>
                <!-- End of footer-->
                <div style="display: none;" id="promo_div">
                    <img src="<?=base_url();?>assets/images/plakat.jpg" alt="IPSC" />
                </div>

            </div>

        </div>

        <!-- MODAL EDITOR -->
        <div id="modaleditor"> </div>

        <!-- IMAGE LOADER  -->
        <div class="hidden" style="display: none;">

            <img src="<?=base_url();?>assets/images/busy.gif" alt="hidden" />     

        </div>

    </body>

</html>
